bootstrap datepicker Uncaught TypeError: Cannot call method 'split' of undefined問題 這個問題主要是由於date對象不是字符串,不能使用 split 函數,簡單處理一下,轉換成字符串就可以解決問題: ...